﻿using SQLite;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace NewsReader.Helpers.Orm
{
    [Table("categories")]
    public sealed class Category
    {
        [Column("name")]
        public string Name
        {
            get;
            set;
        }

        [Column("id"), PrimaryKey, AutoIncrement]
        public int Id
        {
            get;
            set;
        }
    }
}
